<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

onload = function() {
    document.designMode = "on";
    document.execCommand("SelectAll");
    document.execCommand("JustifyCenter");
    document.body.textContent = 'PASS if Blink doesn\'t crash.';
};
</script>
</head>
<body>
<ul style="height: 20px;"></ul>
<div>
    <div></div>
    <a target="foo">more</a>
</div>
</body>
</html>
